﻿/*
 * KLF Headless Browser
 * Written by Kris Oye <kristianoye@gmail.com>
 * Copyright (C) 2011-2012.  All rights reserved.
 */
namespace KLF.Lib.Browser.DOM.HTML
{
    /// <summary>
    /// The document title. See the TITLE element definition in HTML 4.01.
    /// </summary>
    public class HTMLTitleElement : HTMLElement
    {
        #region Constructors

        internal HTMLTitleElement(Document owner)
            : base(owner, "title")
        {
        }

        #endregion

        #region DOM Level 2 HTML Compliance

        /// <summary>
        /// The specified title as a string.
        /// </summary>
        public string text
        {
            get
            {
                return textContent;
            }
            set
            {
                textContent = value;
            }
        }

        #endregion
    }
}
